home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14566 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  787 b 

  1. Path: jadoube.mcs.anl.gov!levine
  2. From: levine@jadoube.mcs.anl.gov (David Levine)
  3. Newsgroups: comp.lang.c
  4. Subject: va_start
  5. Date: Mon, 15 Apr 1996 20:23:18 GMT
  6. Organization: MCS, Argonne National Laboratory
  7. Message-ID: <8295997985298@jadoube.mcs.anl.gov>
  8. NNTP-Posting-Host: jadoube.mcs.anl.gov
  9.  
  10. I've recently ftp'ed two separate programs that both use C`s variable length
  11. argument list feature.  The problem I've had is that both programs use:
  12.  
  13.      va_start(arglist);
  14.  
  15. i.e., they specify only one argument to va_start, not the required two.  gcc
  16. is unhappy with this ("macro `va_start' used with just one arg").  I almost
  17. sense that this is/was legit!? Is it one of the <stdarg.c> vs. <varargs.h>
  18. differences (BSD) in ANSI C?  Any help or other pointers much appreciated.
  19.  
  20. Thanks --dave
  21.